<div class="bg-white margin-top-xs padding border-radius">
    <div class=" ">
        <button type="button" class="btn btn-white btn-sm" v-on:click="_openAddMarketRuleModal()">
            添加
        </button>
        <button type="button" class="btn btn-white btn-sm" v-on:click="_openEditMarketRuleModel()">
            修改
        </button>
        <button type="button" class="btn btn-white btn-sm" v-on:click="_openDeleteMarketRuleModel()" >
            删除
        </button>
    </div>
    <div class="vc-org margin-top">
        <ul>
            <li v-for="(rule,index) in marketRuleDivInfo.marketRules" @click="_switchMarketRule(rule)"
                :class="{'active':rule.ruleId == marketRuleDivInfo.curMarketRule.ruleId}">{{rule.name}}
            </li>
        </ul>
    </div>
    <vc:create path="admin/addMarketRule" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="admin/editMarketRule"></vc:create>
    <vc:create path="admin/deleteMarketRule"></vc:create>
</div>